entry, spinbutton: Finish css node conversion
authorMatthias Clasen <mclasen@redhat.com>
Thu, 29 Oct 2015 03:32:57 +0000 (23:32 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 29 Oct 2015 03:43:32 +0000 (23:43 -0400)
commitbb7d7851ac5cecf960a7ed69af06b2dd0a29484b
tree90064434b252a76a76d34379fea0732936da6823
parentebcad63e314b613d45bbaa718082a44a090f5da1
entry, spinbutton: Finish css node conversion

This commit creates entry and button subnodes for the buttons
in GtkSpinButton. The nodes are ordered like this for horizontal

  spinbutton
  + entry
    + image.left
    + image.right
    + progress
  + button.down
  + button.up

and like this for vertical ones:

  spinbutton
  + button.down
  + entry
  + button.up

This arrangement requires cooperation from GtkEntry to place
the entry subnodes correctly, and some small changes in the theme.

This commit also fixes progress rendering in vertical spin buttons.
gtk/gtkentry.c
gtk/gtkspinbutton.c
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css